package com.ruoyi.purchase.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * ${subTable.functionName}对象 material_receive_detail
 * 
 * @author ruoyi
 * @date 2025-10-29
 */
public class MaterialReceiveDetail extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 明细ID */
    private String id;

    /** 收料通知单号 */
    @Excel(name = "收料通知单号")
    private String receiveId;

    /** 箱码ID */
    @Excel(name = "箱码ID")
    private String boxId;

    /** 是否拒收 */
    @Excel(name = "是否拒收")
    private Long recevingStatus;

    /** 创建时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "创建时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date createdAt;

    /** 更新时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "更新时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date updatedAt;

    public void setId(String id) 
    {
        this.id = id;
    }

    public String getId() 
    {
        return id;
    }
    public void setReceiveId(String receiveId) 
    {
        this.receiveId = receiveId;
    }

    public String getReceiveId() 
    {
        return receiveId;
    }
    public void setBoxId(String boxId) 
    {
        this.boxId = boxId;
    }

    public String getBoxId() 
    {
        return boxId;
    }
    public void setRecevingStatus(Long recevingStatus) 
    {
        this.recevingStatus = recevingStatus;
    }

    public Long getRecevingStatus() 
    {
        return recevingStatus;
    }
    public void setCreatedAt(Date createdAt) 
    {
        this.createdAt = createdAt;
    }

    public Date getCreatedAt() 
    {
        return createdAt;
    }
    public void setUpdatedAt(Date updatedAt) 
    {
        this.updatedAt = updatedAt;
    }

    public Date getUpdatedAt() 
    {
        return updatedAt;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("receiveId", getReceiveId())
            .append("boxId", getBoxId())
            .append("recevingStatus", getRecevingStatus())
            .append("createdAt", getCreatedAt())
            .append("updatedAt", getUpdatedAt())
            .toString();
    }
}
